#ifndef INCLUDES_H
#define INCLUDES_H

#include "board.h"

#include "version.h"

#include "app_solder.h"
#include "app_gun.h"
#include "app_plate.h"
#include "app_device.h"
#include "comm_apply.h"
#include "gui.h"

#undef EXTERN
#ifndef APP_INIT_C
#define EXTERN extern
#else
#define EXTERN
#endif

enum{
    kSysEvent_ParaChange = 1<<0,  
    xSysEvent_LoadOE = 1<<1,
};

EXTERN SemaphoreHandle_t xSemaphoreSample;
EXTERN EventGroupHandle_t sys_event;

extern uint8_t app_init_flag;

extern void app_init(void);
extern void app_timer_task(uint16_t tick);
extern void app_create_task(void *para);
extern void task_led(void *para);
extern void task_power(void *para);
extern void task_cdc(void *para);
extern void task_gui(void *para);
extern void task_comm(void * para);
extern void task_pc(void *para);
extern void task_plate_period(void *para);

#endif
